Adding some more judges, here and there.
[and.git] / lib / Mi manual de algoritmos / version_maraton_nacional_2008 / src / c++ / io_file.cpp
blob177af456ee887820d36a1bd5351c48db9153389a
1 #include <iostream>
2 #include <fstream>
4 using namespace std;
6 int _main(){
7 freopen("entrada.in", "r", stdin);
8 freopen("entrada.out", "w", stdout);
10 string s;
11 while (cin >> s){
12 cout << "Leí " << s << endl;
14 return 0;
18 int main(){
19 ifstream fin("entrada.in");
20 ofstream fout("entrada.out");
22 string s;
23 while (fin >> s){
24 fout << "Leí " << s << endl;
26 return 0;